package cn.tedu.spring.beanxml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestUser {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("Bean.xml");
        xmlUser xmlUser = context.getBean(xmlUser.class);
        xmlUser.run();
    }
}
